package com.sz.mes.service;

import com.diboot.core.vo.JsonResult;
import com.diboot.core.vo.Pagination;
import com.sz.mes.dto.ProductTaskDTO;
import com.sz.mes.entity.ProductTask;
import com.sz.mes.entity.Technique;

import java.util.List;
import java.util.Map;

/**
 * 生产任务相关Service
 *
 * @author hem
 * @version 1.0
 * @date 2023-05-19
 * Copyright © szhs
 */
public interface ProductTaskService extends BaseCustomService<ProductTask> {
    JsonResult insert(ProductTask entity);

    JsonResult insertTechnologyInfo(Technique technique);

    Map<String, Object> getList(ProductTaskDTO queryDto);

    JsonResult getProductSchedule(ProductTaskDTO queryDto, Pagination pagination);

    JsonResult getGoods(String receiptNum);

    List<String> filterDuplicate(List<String> receiptNumAndStockNumList);
}
